const user = {
    state: {
        routerList: [],
        info: {}
    },
    mutations: {
        SET_ROUTER_LIST: (state, routerList) => {
            state.routerList = routerList
        },
        SET_USER_INFO: (state, info) => {
            state.info = info
        },
        SET_STATE_CLEAR: (state) => {
            state.info = {}
            state.routerList = []
        }
    },
    actions: {

    }
}

export default user
